home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / apcp.arc / A206A.CMD < prev    next >
Encoding:
Text File  |  1987-01-01  |  10.3 KB  |  404 lines

  1.      goto menu
  2.  
  3. dial:
  4.      isfile s8
  5.      if success
  6.           return
  7.      else
  8.      endif
  9.      clear
  10.      message "│ 206 │"
  11.      locate 0,8
  12.      message s8
  13.      locate 0,17
  14.      message "│ Seattle, WA                 │"
  15.      locate 0,49
  16.      message s6
  17.      locate 0,77
  18.      message "│"
  19.      locate 2,0
  20.      transmit "I!"
  21.      pause 1
  22.      transmit "ATZ!"
  23.      waitfor "OK"
  24.      transmit "^E!"
  25.      waitfor "READY"
  26.      transmit "D"
  27.      transmit S8
  28.      transmit "!"
  29.      rget s9
  30.      rget s9 80 40
  31.      rget s9 40 40
  32.      rget s9 40 40
  33.  
  34. mess:
  35.      find s9 "BUSY"
  36.      if found
  37.           assign s7 "M"
  38.           return
  39.      else
  40.      endif
  41.      find s9 "ANSWER TONE"
  42.      if found
  43.           set parity none
  44.           set databits 8
  45.           clear
  46.           log open s8
  47.           alarm 2
  48.           exit
  49.      else
  50.      endif
  51.      find s9 "RINGING"
  52.      if found
  53.           rget s9
  54.           find s9 "RINGING"
  55.           if not found
  56.                goto mess
  57.           else
  58.                log open s8
  59.                message "NO ANSWER - STILL RINGING"
  60.                log close
  61.                transmit "^C^D^C"
  62.           endif
  63.      else
  64.      endif
  65. return
  66.  
  67. menu:
  68.      assign s7 " "
  69.      log close
  70.      clear
  71.      message "╔════════════════════════════════════════════════════════════════════════════╗"
  72.      message "║ A- Byte Warrior ........... 868-2866  V- ........................ ...-.... ║"
  73.      message "║ B- Home of Galaxy WP System 235-8760  W- Turnover Post - Indus .. 443-1806 ║"
  74.      message "║ C- Night Shift RBBS ....... 488-0924  X- Wizard's Lair .......... 783-3459 ║"
  75.      message "║ D- Dean Johnson ........... 281-7661  Y- Stop N Shop ............ 248-2600 ║"
  76.      message "║ E- Infinity Base .......... 329-9260  Z- 35 US HDS Human Serv ... 442-8127 ║"
  77.      message "║ F- 'C ..................... 488-0924  0- PMS Software Unlimited . 486-2368 ║"
  78.      message "║ G- Underdog's Mininet ..... 725-9233  1- HOST 138 Pac. NORWEST .. 527-5618 ║"
  79.      message "║ H- Cel_Com 1 .............. 725-9413  2- Northwest Computer Soc . 621-8665 ║"
  80.      message "║ I- ........................ ...-....  3- ........................ ...-.... ║"
  81.      message "║ J- Fido Heath/Zenith ...... 941-6943  4- MINIBIN: TUG ........... 763-3116 ║"
  82.      message "║ K- Fido BECS Tandy ........ 527-5618  5- Seattle RBBS PC ........ 883-4403 ║"
  83.      message "║ L- Computer Exchange ...... 431-8664  6- Cheryl's Velvet Touch .. 937-2957 ║"
  84.      message "║ M- ........................ ...-....  7- ........................ ...-.... ║"
  85.      message "║ N- ........................ ...-....  8- ........................ ...-.... ║"
  86.      message "║ O- .......  ............... ...-....  9- ........................ ...-.... ║"
  87.      message "║ P- Bellevue Crossroads .... 747-1944  @- ........................ ...-.... ║"
  88.      message "║ Q- Public Domain Silo ..... 775-2650  #- ........................ ...-.... ║"
  89.      message "║ R- Puget Sound RBBS ....... 743-0162  $- ........................ ...-.... ║"
  90.      message "║ S- Sears Business Center .. 641-6265  %- ........................ ...-.... ║"
  91.      message "║ T- Seattle Homedome RBBS .. 946-1627  &- ........................ ...-.... ║"
  92.      message "║ U- Software Salers ........ 367-2026  *- ........................ ...-.... ║"
  93.      message "╚════════════════════════════════════════════════════════════════════════════╝"
  94.      locate 23,2
  95.      get s0
  96.  
  97. top:
  98.      find s0 "A"
  99.      if found
  100.           assign s8 "868-2866"
  101.           assign s6 "Byte Warrior               "
  102.           gosub dial
  103.      else
  104.      endif
  105.      find s0 "B"
  106.      if found
  107.           assign s8 "235-8760"
  108.           assign s6 "Galaxy Word Processing Sys "
  109.           gosub dial
  110.      else
  111.      endif
  112.      find s0 "C"
  113.      if found
  114.           assign s8 "488-0924"
  115.           assign s6 "Night Shift RBBS           "
  116.           gosub dial
  117.      else
  118.      endif
  119.      find s0 "D"
  120.      if found
  121.           assign s8 "281-7661"
  122.           assign s6 "Dean Johnson               "
  123.           gosub dial
  124.      else
  125.      endif
  126.      find s0 "E"
  127.      if found
  128.           assign s8 "329-9260"
  129.           assign s6 "Infinity Base              "
  130.           gosub dial
  131.      else
  132.      endif
  133.      find s0 "F"
  134.      if found
  135.           assign s8 "488-0924"
  136.           assign s6 "'C BBS                     "
  137.           gosub dial
  138.      else
  139.      endif
  140.      find s0 "G"
  141.      if found
  142.           assign s8 "725-9233"
  143.           assign s6 "Underdog's Mininet         "
  144.           gosub dial
  145.      else
  146.      endif
  147.      find s0 "H"
  148.      if found
  149.           assign s8 "725-9413"
  150.           assign s6 "Cel_Com 1                  "
  151.           gosub dial
  152.      else
  153.      endif
  154.      find s0 "I"
  155.      if found
  156.           assign s8 "   -    "
  157.           assign s6 "                           "
  158.           gosub dial
  159.      else
  160.      endif
  161.      find s0 "J"
  162.      if found
  163.           assign s8 "941-6943"
  164.           assign s6 "Fido Heath/Zenith          "
  165.           gosub dial
  166.      else
  167.      endif
  168.      find s0 "K"
  169.      if found
  170.           assign s8 "527-5618"
  171.           assign s6 "Fido BECS Tandy            "
  172.           gosub dial
  173.      else
  174.      endif
  175.      find s0 "L"
  176.      if found
  177.           assign s8 "431-8664"
  178.           assign s6 "Computer Exchange          "
  179.           gosub dial
  180.      else
  181.      endif
  182.      find s0 "M"
  183.      if found
  184.           assign s8 "858-2028"
  185.           assign s6 "Gig Harbor IBS             "
  186.           gosub dial
  187.      else
  188.      endif
  189.      find s0 "N"
  190.      if found
  191.           assign s8 "630-3329"
  192.           assign s6 "Multi-Connection           "
  193.           gosub dial
  194.      else
  195.      endif
  196.      find s0 "O"
  197.      if found
  198.           assign s8 "535-2837"
  199.           assign s6 "Northwest Micronet         "
  200.           gosub dial
  201.      else
  202.      endif
  203.      find s0 "P"
  204.      if found
  205.           assign s8 "747-1944"
  206.           assign s6 "Bellevue Crossroads        "
  207.           gosub dial
  208.      else
  209.      endif
  210.      find s0 "Q"
  211.      if found
  212.           assign s8 "775-2650"
  213.           assign s6 "Public Domain Silo         "
  214.           gosub dial
  215.      else
  216.      endif
  217.      find s0 "R"
  218.      if found
  219.           assign s8 "743-0162"
  220.           assign s6 "Puget Sound RBBS           "
  221.           gosub dial
  222.      else
  223.      endif
  224.      find s0 "S"
  225.      if found
  226.           assign s8 "641-6265"
  227.           assign s6 "Sears Business Center      "
  228.           gosub dial
  229.      else
  230.      endif
  231.      find s0 "T"
  232.      if found
  233.           assign s8 "946-1627"
  234.           assign s6 "Seattle Homedome RBBS      "
  235.           gosub dial
  236.      else
  237.      endif
  238.      find s0 "U"
  239.      if found
  240.           assign s8 "367-2026"
  241.           assign s6 "Software Salers            "
  242.           gosub dial
  243.      else
  244.      endif
  245.      find s0 "V"
  246.      if found
  247.           assign s8 "698-2387"
  248.           assign s6 "Trident Base One           "
  249.           gosub dial
  250.      else
  251.      endif
  252.      find s0 "W"
  253.      if found
  254.           assign s8 "443-1806"
  255.           assign s6 "Turnover Post - Industrial "
  256.           gosub dial
  257.      else
  258.      endif
  259.      find s0 "X"
  260.      if found
  261.           assign s8 "783-3459"
  262.           assign s6 "Wizard's Lair              "
  263.           gosub dial
  264.      else
  265.      endif
  266.      find s0 "Y"
  267.      if found
  268.           assign s8 "248-2600"
  269.           assign s6 "Stop 'N Shop               "
  270.           gosub dial
  271.      else
  272.      endif
  273.      find s0 "Z"
  274.      if found
  275.           assign s8 "442-8127"
  276.           assign s6 "35 US HDS Human Services   "
  277.           gosub dial
  278.      else
  279.      endif
  280.      find s0 "0"
  281.      if found
  282.           assign s8 "486-2368"
  283.           assign s6 "PMS Software Unlimited     "
  284.           gosub dial
  285.      else
  286.      endif
  287.      find s0 "1"
  288.      if found
  289.           assign s8 "527-5618"
  290.           assign s6 "Host 138 Pacific NORWEST   "
  291.           gosub dial
  292.      else
  293.      endif
  294.      find s0 "2"
  295.      if found
  296.           assign s8 "621-8665"
  297.           assign s6 "Northwest Computer Society "
  298.           gosub dial
  299.      else
  300.      endif
  301.      find s0 "3"
  302.      if found
  303.           assign s8 "   -    "
  304.           assign s6 "                           "
  305.           gosub dial
  306.      else
  307.      endif
  308.      find s0 "4"
  309.      if found
  310.           assign s8 "763-3116"
  311.           assign s6 "MINIBIN: TUG               "
  312.           gosub dial
  313.      else
  314.      endif
  315.      find s0 "5"
  316.      if found
  317.           assign s8 "883-4403"
  318.           assign s6 "Seattle RBBS PC            "
  319.           gosub dial
  320.      else
  321.      endif
  322.      find s0 "6"
  323.      if found
  324.           assign s8 "937-2957"
  325.           assign s6 "Cheryl's Velvet Touch      "
  326.           gosub dial
  327.      else
  328.      endif
  329.      find s0 "7"
  330.      if found
  331.           assign s8 "   -    "
  332.           assign s6 "                           "
  333.           gosub dial
  334.      else
  335.      endif
  336.      find s0 "8"
  337.      if found
  338.           assign s8 "   -    "
  339.           assign s6 "                           "
  340.           gosub dial
  341.      else
  342.      endif
  343.      find s0 "9"
  344.      if found
  345.           assign s8 "   -    "
  346.           assign s6 "                           "
  347.           gosub dial
  348.      else
  349.      endif
  350.      goto speedup                      ; Skip Empty Elements
  351.      find s0 "@"
  352.      if found
  353.           assign s8 "   -    "
  354.           assign s6 "                           "
  355.           gosub dial
  356.      else
  357.      endif
  358.      find s0 "#"
  359.      if found
  360.           assign s8 "   -    "
  361.           assign s6 "                           "
  362.           gosub dial
  363.      else
  364.      endif
  365.      find s0 "$"
  366.      if found
  367.           assign s8 "   -    "
  368.           assign s6 "                           "
  369.           gosub dial
  370.      else
  371.      endif
  372.      find s0 "%"
  373.      if found
  374.           assign s8 "   -    "
  375.           assign s6 "                           "
  376.           gosub dial
  377.      else
  378.      endif
  379.      find s0 "&"
  380.      if found
  381.           assign s8 "   -    "
  382.           assign s6 "                           "
  383.           gosub dial
  384.      else
  385.      endif
  386.      find s0 "*"
  387.      if found
  388.           assign s8 "   -    "
  389.           assign s6 "                           "
  390.           gosub dial
  391.      else
  392.      endif
  393.  
  394. speedup:
  395.      find s7 "M"
  396.      if found
  397.           assign s7 " "
  398.           goto top
  399.      else
  400.      endif
  401.      message "All Numbers Connected - Or Did Not Answer"
  402.      alarm 2
  403.      exit
  404.